﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Web;

namespace gAMS_Sacombank.Web.Services.AssetManagement.Interfaces.AssCommon
{
    [ServiceContract]
    public interface ISupplierType
    {
        [OperationContract]
        IEnumerable<CM_SUPPLIERTYPE> GetByAllSupplierType();

        [OperationContract]
        String InsertSupplierType(CM_SUPPLIERTYPE data);

        [OperationContract]
        String UpdateSupplierType(CM_SUPPLIERTYPE data);

        [OperationContract]
        String DeleteSupplierType(string id);

        [OperationContract]
        IEnumerable<CM_SUPPLIERTYPE> GetByTopSupplierType(string _top, string _where, string _order);

        [OperationContract]
        String ApproveSupplierType(CM_SUPPLIERTYPE data);
    }
}